package mvc.view;

import mvc.controller.Enemy;
import processing.core.PApplet;

/**
 * Defines a Bee, the front line of the Galaga force
 */
public class Bee extends Enemy {

    /**
     * Constructor initializes variables
     *
     * @param x
     *            x coordinate
     * @param y
     *            y coordinate
     * @param entryPath
     *            path to take on entry
     */
    public Bee(float x, float y, FlightPath entryPath) {
        super(x, y, entryPath);
        formationScore = 50;
        attackingScore = 100;
    }

    /**
     * Constructor initializes variables
     *
     * @param x
     *            x coordinate
     * @param y
     *            y coordinate
     * @param goalX
     *            the starting destination of the bee
     * @param goalY
     *            the starting destination of the bee
     * @param entryPath
     *            path to take on entry
     */
    public Bee(float x, float y, float goalX, float goalY, FlightPath entryPath) {
        super(x, y, goalX, goalY, entryPath);
        formationScore = 50;
        attackingScore = 100;
    }

    @Override
    public void update(float elapsed) {
        super.update(elapsed);

    }

    @Override
    public Enemy clone() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    protected void createSprite() {
        super.createSprite();
        sprite1 = (new PApplet()).loadImage("Sprites/bee.png");
        sprite2 = (new PApplet()).loadImage("Sprites/bee2.png");
    }

}
